package com.why.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 *
 * </p>
 *
 * @author 吴慧跃
 * @since 2022-05-27
 */
@Getter
@Setter
@TableName("tb_account")
public class Account implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 账户姓名
     */
    private String name;

    /**
     * 账户号
     */
    private String number;

    /**
     * 账户余额
     */
    private Double balance;

    /**
     * 开户时间
     */
    private LocalDate beginTime;
    /**
     * 变动金额
     */
    private Double moneyUser;



}
